<?php
/**
 * View  LaFabbrica.org
 * 
 * @author     luigi.pastore (gigi@la-fabbrica.org)
 * @created    31-mag-2012
 * @package    LaFabbrica
 * @copyright  Copyright (c) 2011 Luigi Pastore
 */
?>
<script type="text/javascript">
    //<![CDATA[
     
    //]]>
</script>
<div class="info">
    <h2>Associa Contatto</h2>
    <div>Per inserire un nuovo post...</div>
    <div>I campi contrassegnati da <span class="req">*</span> sono obbligatori!</div>
</div>
<form id="form-invia" method="post" action="/admin/contatti/associa/id/<?php echo $this->contact_id ?>">
    <ul>
	<li class="paging-context ">
	    <table class="pgStyle1 circle2" cellspacing="0">
		<tr>
		    <td class="c">
			<var>1</var>
		    </td>
		    <td class="t">
			<b id="pagecircle1"><a href="/admin/contatti/info/id/<?php echo $this->contact_id ?>">Dettagli Contatto</a></b>
		    </td>
		    <td class="c selected">
			<var>2</var>
		    </td>
		    <td class="t selected">
			<b id="pagecircle2">Associa Contatto</b>
		    </td>
		</tr>
	    </table>
	</li>
    </ul>    
    <div id="content">
        <div id="summary" class="contact">
            <div class="head contact">
                <h2>Riepilogo Contatto:</h2>
            </div>
            <div class="body">
                <table cellspacing="0" class="table">
                    <tbody>
                        <tr>
                            <th>Nome:</th>
                            <td>
                                <strong>
                                <?php echo $this->data['contact_firstname'] ?>
                                <?php echo $this->data['contact_lastname'] ?>
                                </strong>
                            </td>
                        </tr>
                        <tr>
                            <th>Email Principale:</th>
                            <td>
                                <strong>
                                <?php echo $this->data['contact_email'] ?>
                                </strong>
                            </td>
                        </tr>
                        <tr>
                            <th>Telefono Principale:</th>
                            <td>
                                <strong>
                                <?php echo $this->data['contact_phone'] ?>    
                                </strong>
                            </td>
                        </tr>
                        <tr class="break">
                            <td colspan="2">&nbsp;</td>
                        </tr>                        
                    </tbody>
                </table>
                <ul>
                    <li class="addnew center">
                        <a id="" class="button" href="/admin/contatti/associalocation/id/<?php echo $this->data['contact_id'] ?>">
                            <img src="/images/admin/location-icon.png" />Associa Contatto a Location
                        </a>
                        <a id="" class="button" href="/admin/contatti/associapartner/id/<?php echo  $this->data['contact_id'] ?>">
                            <img src="/images/admin/partner-icon.png" />Associa Contatto a Partner
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</form>
